package online.foxnull2.foxmall.seckill.feign;

import online.foxnull2.foxmall.seckill.to.SkuInfoTo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("foxmall-product")
public interface ProductFeignService {

    @RequestMapping("/product/skuinfo/infoTo/{skuId}")
    SkuInfoTo infoTo(@PathVariable("skuId") Long skuId);
}
